<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="Restoring User Mailbox Data When Active Directory and Single-Node Exchange Are Deployed on the Same Host">
  <meta name="product" content="">
  <meta name="DC.Relation" scheme="URI" content="en-us_topic_0000002164769606.html">
  <meta name="prodname" content="">
  <meta name="version" content="">
  <meta name="brand" content="">
  <meta name="DC.Publisher" content="20250306">
  <meta name="prodname" content="csbs">
  <meta name="documenttype" content="usermanual">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="EN-US_TOPIC_0000002164609898">
  <meta name="DC.Language" content="en-us">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>Restoring User Mailbox Data When Active Directory and Single-Node Exchange Are Deployed on the Same Host</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="EN-US_TOPIC_0000002164609898"></a><a name="EN-US_TOPIC_0000002164609898"></a>
  <h1 class="topictitle1">Restoring User Mailbox Data When Active Directory and Single-Node Exchange Are Deployed on the Same Host</h1>
  <div>
   <p>After Active Directory user restoration is complete, you need to update the user mailbox status at the production end, create an Active Directory user, and bind the user to the restored mailbox to verify the restored user mailbox data.</p>
   <div class="section">
    <h4 class="sectiontitle">Procedure</h4>
    <ol>
     <li><span>Query the mailbox to be restored and the information about the old user bound to the mailbox.</span><p></p>
      <ol type="a">
       <li>Log in to the client where the target Exchange Server is located as an administrator.</li>
       <li>Open Exchange Management Shell.</li>
       <li>Run the following command:<pre class="screen">Get-Mailbox -Identity "<em>Mailbox address</em>" | Select DisplayName, Alias, PrimarySmtpAddress, UserPrincipalName, OrganizationalUnit, Database, RecipientType, HiddenFromAddressListsEnabled</pre> <p>Assuming that Windows Server 2016 is used, the command output is as follows:</p> <p><span><img src="en-us_image_0000002200010845.png"></span></p></li>
      </ol> <p></p></li>
     <li id="EN-US_TOPIC_0000002164609898__li208271820145314"><a name="EN-US_TOPIC_0000002164609898__li208271820145314"></a><a name="li208271820145314"></a><span>Restore the queried Active Directory user. For details, see <a href="en-us_topic_0000002200010565.html">Restoring Active Directory Objects in the Scenario with a Single Domain Controller</a>.</span><p></p><p>An error will be reported when you log in to the restored mailbox. In this case, restore the mailbox data by referring to <a href="#EN-US_TOPIC_0000002164609898__li1307813125314">3</a> to <a href="#EN-US_TOPIC_0000002164609898__li1949012592325">4</a>.</p> <p></p></li>
     <li id="EN-US_TOPIC_0000002164609898__li1307813125314"><a name="EN-US_TOPIC_0000002164609898__li1307813125314"></a><a name="li1307813125314"></a><span>After the restoration is complete, run the following command to clear the binding relationship between the old user and the mailbox:</span><p></p><pre class="screen">Disable-Mailbox -Identity "<em>Username</em>"</pre> <p>Assuming that Windows Server 2016 is used, the command output is as follows:</p> <p><span><img src="en-us_image_0000002164769854.png"></span></p> <p></p></li>
     <li id="EN-US_TOPIC_0000002164609898__li1949012592325"><a name="EN-US_TOPIC_0000002164609898__li1949012592325"></a><a name="li1949012592325"></a><span>Bind the user restored in <a href="#EN-US_TOPIC_0000002164609898__li208271820145314">2</a> to the mailbox.</span><p></p>
      <div class="p">
       <ol type="a">
        <li>Log in to the Exchange mailbox management page. The login address is <strong>https://</strong><em>Management IP address</em><strong>/ecp</strong>.</li>
        <li>In the navigation pane, choose <span class="uicontrol"><b>recipients</b></span> and click the <strong>mailboxes</strong> tab.</li>
        <li>Click <span><img src="en-us_image_0000002200010857.png"></span> and select <strong>Connect a mailbox</strong>.<p>The <strong>connect a mailbox</strong> dialog box is displayed.</p></li>
        <li>Select a server and select the mailbox to be connected.</li>
        <li>Click <span><img src="en-us_image_0000002200096425.png"></span>.<p>A dialog box is displayed for your confirmation.</p></li>
        <li>Select <strong>Yes, connect to the user account above</strong>.
         <div class="note">
          <img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span>
          <div class="notebody">
           <p>If you select <strong>No, I want to connect to a different user account</strong>, select the user account to be connected in the dialog box that is displayed.</p>
          </div>
         </div></li>
        <li>Click <span class="uicontrol"><b>Finish</b></span>.</li>
       </ol>
      </div> <p></p></li>
     <li><span>View and log in to the mailbox.</span></li>
    </ol>
   </div>
  </div>
  <div>
   <div class="familylinks">
    <div class="parentlink">
     <strong>Parent topic:</strong> <a href="en-us_topic_0000002164769606.html">FAQs</a>
    </div>
   </div>
  </div>
 </body>
</html>